3.1394 \(\int \frac {(1-2 x)^3}{3+5 x} \, dx\)

Optimal. Leaf size=30 \[ -\frac {8 x^3}{15}+\frac {42 x^2}{25}-\frac {402 x}{125}+\frac {1331}{625} \log (5 x+3) \]

[Out]

-402/125*x+42/25*x^2-8/15*x^3+1331/625*ln(3+5*x)

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 30, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.067, Rules used = {43} \[ -\frac {8 x^3}{15}+\frac {42 x^2}{25}-\frac {402 x}{125}+\frac {1331}{625} \log (5 x+3) \]

Antiderivative was successfully verified.

[In]

Int[(1 - 2*x)^3/(3 + 5*x),x]

[Out]

(-402*x)/125 + (42*x^2)/25 - (8*x^3)/15 + (1331*Log[3 + 5*x])/625

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin {align*} \int \frac {(1-2 x)^3}{3+5 x} \, dx &=\int \left (-\frac {402}{125}+\frac {84 x}{25}-\frac {8 x^2}{5}+\frac {1331}{125 (3+5 x)}\right ) \, dx\\ &=-\frac {402 x}{125}+\frac {42 x^2}{25}-\frac {8 x^3}{15}+\frac {1331}{625} \log (3+5 x)\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 27, normalized size = 0.90 \[ \frac {-1000 x^3+3150 x^2-6030 x+3993 \log (5 x+3)-4968}{1875} \]

Antiderivative was successfully verified.

[In]

Integrate[(1 - 2*x)^3/(3 + 5*x),x]

[Out]

(-4968 - 6030*x + 3150*x^2 - 1000*x^3 + 3993*Log[3 + 5*x])/1875

________________________________________________________________________________________

fricas [A]  time = 0.51, size = 22, normalized size = 0.73 \[ -\frac {8}{15} \, x^{3} + \frac {42}{25} \, x^{2} - \frac {402}{125} \, x + \frac {1331}{625} \, \log \left (5 \, x + 3\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3/(3+5*x),x, algorithm="fricas")

[Out]

-8/15*x^3 + 42/25*x^2 - 402/125*x + 1331/625*log(5*x + 3)

________________________________________________________________________________________

giac [A]  time = 0.85, size = 23, normalized size = 0.77 \[ -\frac {8}{15} \, x^{3} + \frac {42}{25} \, x^{2} - \frac {402}{125} \, x + \frac {1331}{625} \, \log \left ({\left | 5 \, x + 3 \right |}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3/(3+5*x),x, algorithm="giac")

[Out]

-8/15*x^3 + 42/25*x^2 - 402/125*x + 1331/625*log(abs(5*x + 3))

________________________________________________________________________________________

maple [A]  time = 0.00, size = 23, normalized size = 0.77 \[ -\frac {8 x^{3}}{15}+\frac {42 x^{2}}{25}-\frac {402 x}{125}+\frac {1331 \ln \left (5 x +3\right )}{625} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((1-2*x)^3/(5*x+3),x)

[Out]

-402/125*x+42/25*x^2-8/15*x^3+1331/625*ln(5*x+3)

________________________________________________________________________________________

maxima [A]  time = 0.44, size = 22, normalized size = 0.73 \[ -\frac {8}{15} \, x^{3} + \frac {42}{25} \, x^{2} - \frac {402}{125} \, x + \frac {1331}{625} \, \log \left (5 \, x + 3\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)^3/(3+5*x),x, algorithm="maxima")

[Out]

-8/15*x^3 + 42/25*x^2 - 402/125*x + 1331/625*log(5*x + 3)

________________________________________________________________________________________

mupad [B]  time = 0.03, size = 20, normalized size = 0.67 \[ \frac {1331\,\ln \left (x+\frac {3}{5}\right )}{625}-\frac {402\,x}{125}+\frac {42\,x^2}{25}-\frac {8\,x^3}{15} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(-(2*x - 1)^3/(5*x + 3),x)

[Out]

(1331*log(x + 3/5))/625 - (402*x)/125 + (42*x^2)/25 - (8*x^3)/15

________________________________________________________________________________________

sympy [A]  time = 0.09, size = 27, normalized size = 0.90 \[ - \frac {8 x^{3}}{15} + \frac {42 x^{2}}{25} - \frac {402 x}{125} + \frac {1331 \log {\left (5 x + 3 \right )}}{625} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((1-2*x)**3/(3+5*x),x)

[Out]

-8*x**3/15 + 42*x**2/25 - 402*x/125 + 1331*log(5*x + 3)/625

________________________________________________________________________________________